package com.app.util;

import java.util.ArrayList;

import org.dom4j.Document;
import org.dom4j.DocumentException;
import org.dom4j.DocumentHelper;
import org.dom4j.Element;

import com.app.common.Weather;

public class ParseWeatherXML {
	public ArrayList<Weather> getWeathers(String xml) {
		ArrayList<Weather> ws = new ArrayList<Weather>();
		try {
			Document document = DocumentHelper.parseText(xml);
			Element root = document.getRootElement();
		} catch (DocumentException e) {
			e.printStackTrace();
		}
		return ws;
	}

}
